import axios from '@/utils/axios';

export const getMemberPage = (params) => {
    return axios.request({
        url: '/member/page',
        method: 'get',
        params
    });
};

export const getMember = (id) => {
    return axios.request({
        url: '/member/' + id,
        method: 'get'
    });
};

export const getMemberOrderPage = (params) => {
    return axios.request({
        url: '/member/order-page',
        method: 'get',
        params
    });
};
